﻿using System.Data.Entity;

namespace CodeFirstConsoleApplication1
{
    public class TinkercContext : DbContext
    {
        public TinkercContext()
            : base("Tinkerc")
        {

        }

        /// <summary>
        /// User表
        /// </summary>
        public DbSet<User> Users { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
        }
    }
}
